<?php
return [
    'SERVER_NAME' => "EasySwoole",
    'MAIN_SERVER' => [
        'LISTEN_ADDRESS' => '0.0.0.0',
        'PORT' => 9501,
        'SERVER_TYPE' => EASYSWOOLE_WEB_SERVER, //可选为 EASYSWOOLE_SERVER  EASYSWOOLE_WEB_SERVER EASYSWOOLE_WEB_SOCKET_SERVER,EASYSWOOLE_REDIS_SERVER
        'SOCK_TYPE' => SWOOLE_TCP,
        'RUN_MODEL' => SWOOLE_PROCESS,
        'SETTING' => [
            'worker_num' => 8,
            'reload_async' => true,
            'max_wait_time' => 3
        ],
        'TASK' => [
            'workerNum' => 4,
            'maxRunningNum' => 128,
            'timeout' => 15
        ]
    ],
    'TEMP_DIR' => null,
    'LOG_DIR' => null,
    'DATABASE' => [
        'host' => '127.0.0.1',
        'database' => 'qienpet',
        'user' => 'qienpet',
        'pass' => 'tW456ixwFbe6y86E'
    ],
    'REDIS' => [
        'host' => '127.0.0.1',
        'port' => '6379',
        'auth' => null,
        'db' => null,
        'POOL_MAX_NUM' => '6',
        'POOL_TIME_OUT' => '0.1',
        'serialize' => \EasySwoole\Redis\Config\RedisConfig::SERIALIZE_NONE
    ],
    'JWT' => [
        "SECRET" => 'yANguWGe3B3isTMJ4Be2JzWwqnGQyD9DAWVpnbvaxnZsjvVmems4fxnL8Uz7Ug6r'
    ],
    'SMS_CONFIG' => [
        'qcloud' => [

        ],
        'aliyun' => [

        ],
        'ucpaas' => [

        ]

    ],
    'OSS' =>[
        'QINIU' =>[
            'AK' => 'cgdzUkqKjqLRuspS8h9iibv_aMOulswmyQfW72sw',
            'SK' => 'zBVewgYsaQbbbT-_wJA_smJToFUIbf5Lb_01I-VH',
            'BUCKET' => 'juan-img',
            'BASE_URL' => 'http://assets.static.nxspecial.cn',
        ]
    ],
    'MAIL' =>[
        'netease' => [
            'account' => 'qien_puppt@163.com',
            'auth'    => '',
            'smtp'    => 'smtp.163.com'
        ]
    ]
];
